<?php

/**
* Default Routes
*
*/

$route['default_controller'] = "frontend";

$route['dich-vu'] = 'services/service/index';

//Users
$route['user_login'] = 'users/users/login';
$route['logout'] = 'users/users/logout';

//Tin tuc
$route['news'] = 'news/news/index';
$route['news/(:any)/(:any)'] = 'news/news/news_detail/$2';
$route['news/(:any)'] = 'news/news/news_category/$1';

$route['xo-so'] = 'lottrery/lottrery/index';
$route['xo-so-([a-zA-Z_-]+)']='lottrery/lottrery/city/$1';
$route['hom-nay/xo-so-([a-zA-Z_-]+)']='lottrery/lottrery/today/$1';
$route['ket-qua-truc-tiep'] = 'lottrery/lottrery/lotoauto';

//Khu v?c th�nh ph?
$route['xo-so/xo-so-([a-zA-Z_-]+)'] = 'lottrery/areacity/area/$1';

//Link th?ng k�
$route['thong-ke-nhanh']='lottrery/statistics/quickstatic';
$route['thong-ke-lo-gan']='lottrery/statistics/leaststatic';
$route['bang-dac-biet-thang']='lottrery/statistics/special';
$route['thong-ke-tong-hop']='lottrery/statistics/synthesis';
$route['thong-ke-theo-ngay']='lottrery/statistics/byday';

//xem ket qua theo ng�y
$route['ket-qua-theo-ngay']='lottrery/lottrery/byday';

//Linnk soi c?u
$route['chi-tiet-cau'] = 'lottrery/detail/view';
$route['soi-cau-loto-tam-giac'] = 'lottrery/detector/lotriangle';
$route['soi-cau-loto-bach-thu']='lottrery/detector/nornal';
$route['soi-cau-giai-dac-biet']='lottrery/detector/special';
$route['soi-cau-cap-loto']='lottrery/detector/pairof';
$route['soi-cau-loto']='lottrery/detector/loto';
$route['soi-cau-lo-truot']='lottrery/detector/lotomiss';
$route['kiem-tra-cau']='lottrery/detail/checkloto';


//Thong ke vip
$route['thong-ke-chu-ky-gan']='lottrery/statisvip/cycle';
$route['thong-ke-tan-so-nhip-loto']='lottrery/statisvip/frequency';
$route['thong-ke-dau-duoi']='lottrery/statisvip/headend';
$route['thong-ke-dau-duoi-giai-db']='lottrery/statisvip/vipspecial';
$route['ghep-lo-xien-tu-dong']='lottrery/statisvip/tranlottrery';

//D? do�n
$route['du-doan-mot-cap-so']='lottrery/predicted/apairof';
$route['du-doan-xien']='lottrery/predicted/pairofs';
$route['thu-quay-xo-so']='lottrery/explottrery/explottrery';

//Admincp
//$route['backend'] = 'dashboard/admin';
//$route['backend/([a-zA-Z_-]+)/admin/(:any)'] = "$1/admin/$2/$3";
//$route['backend/([a-zA-Z_-]+)'] = "$1/admin/index";
//$route['backend/dataset/prep_filters'] = 'admin/dataset/prep_filters';

//Cron

//Hai vl
$route['photo/(:num)'] = 'haivl/haivl/photo/$1';
